
plt.figure(figsize=(40,40))
plt.subplot(1,2,1)
plt.imshow(image)
plt.title("Image")
plt.subplot(1,2,2)
plt.imshow(test1)
plt.title("after Intensity and Saturation selection")
<matplotlib.text.Text at 0x7fe96b5d9c50>
plt.figure(figsize=(40,40))
plt.subplot(1,2,1)
plt.imshow(test2)
plt.title("after gradient magtitude selection")
plt.subplot(1,2,2)
plt.imshow(test3)
plt.title("after GMM")
<matplotlib.text.Text at 0x7fe96b3b49b0>
plt.figure(figsize=(10,10))
# plt.subplot(1,2,1)
plt.imshow(test4)
plt.title("after fill process")
<matplotlib.text.Text at 0x7fe969383c18>


contour_list = find_contours(modual_2(),0.1)
plt.figure()
fig,ax = plt.subplots(figsize=(10,10))
ax.imshow(modual_2(),cmap = "gray")
for contour in contour_list :
ax.plot(contour[:,1],contour[:,0])
<matplotlib.figure.Figure at 0x7fe94bdb3630>
image
plt.figure(figsize=(8,8))
plt.imshow(paint_2)
plt.title("after var remove and fill")
<matplotlib.image.AxesImage at 0x7effaf738ac8>
plt.figure(figsize=(8,8))
plt.imshow(paint_4)
plt.title("after background fillprocess")
<matplotlib.image.AxesImage at 0x7f0e1eb84320>
show(1)
show(2)
show(3)
show(4)
show(5)
show(9)
show(np.random.randint(1)%80)
show(np.random.randint(80))
show(np.random.randint(80))